Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations

MCA NIMCET Previous Year Questions (PYQs)

MCA NIMCET Operating System PYQ


MCA NIMCET PYQ 2017
The first instruction of bootstrap loader program of an operating system is stored in





Go to Discussion

MCA NIMCET Previous Year PYQMCA NIMCET NIMCET 2017 PYQ

Solution


MCA NIMCET PYQ 2023
A CPU generates 32-bit virtual addresses. The page size is 4 KB. The processor has a translation look-aside buffer (TLB) which can hold a total of 128 page table entries and is 4 -way set associative. The minimum size of the TLB tag is:





Go to Discussion

MCA NIMCET Previous Year PYQMCA NIMCET NIMCET 2023 PYQ

Solution

✅ Given Information:

The CPU generates 32-bit virtual addresses with a 4 KB page size. The TLB holds 128 page table entries and is 4-way set associative.

✅ Step 1: Virtual Address Breakdown:

We split the 32-bit virtual address into:

  • Page Offset: 12 bits (because 4 KB = 212)
  • Page Number: 20 bits (32 - 12)

✅ Step 2: TLB Breakdown:

The TLB has 128 entries, and with 4-way set associativity, there are:

128 / 4 = 32 sets, so we need 5 bits for the index.

✅ Step 3: Tag Calculation:

The total number of bits for the virtual address is 32:

  • Page Offset: 12 bits
  • Index: 5 bits (because we have 32 sets)
  • Tag: Remaining bits = 32 - 12 - 5 = 15 bits

✅ Final Answer:

The minimum size of the TLB tag is: 15 bits


MCA NIMCET PYQ 2024
 A CPU generates 32 bits virtual addresses. The page size is 4 KB. The processor has a translation look-aside buffer (TLB) which can hold a total of 128-page table entries and is 4- way set associate. The minimum size of the TLB tag is





Go to Discussion

MCA NIMCET Previous Year PYQMCA NIMCET NIMCET 2024 PYQ

Solution

TLB Tag Size Calculation

Given:

  • Virtual Address = 32 bits
  • Page Size = 4 KB = 212 → Offset = 12 bits
  • VPN = 32 − 12 = 20 bits
  • TLB entries = 128, 4-way set associative → 32 sets

Set index bits: log2(32)=5 bits

TLB Tag = VPN − Set Index = 20 − 5 = 15 bits

✅ Final Answer: 15 bits



MCA NIMCET


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

MCA NIMCET


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.